package com.adnaan.backend.common.mail.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "spring.mail")
public class EMailProperties {
    // 字符集编码
    private String defaultEncoding;
    // 协议服务器地址
    private String host;
    // (发送方)邮箱账号
    private String username;
    // 授权码
    private String password;
}